<template>
    <div class="operation">
       <van-checkbox-group v-model="result">
  <van-checkbox
    v-for="(item, index) in  list "
    :key="index"
    :name="item"
  >
    复选框 {{ item }}
  </van-checkbox>
</van-checkbox-group>
    </div>
</template>
<script>
    import { Toast } from 'mint-ui';
    export default {
        name: "test",
        data(){
            return {
                 list: ['a', 'b', 'c'],
                 result: []
            }
        },
        methods:{
            click_buttom(){
                this.show();
                setTimeout(() => {
                    this.instace.close();
                }, 3000);
            },
            show(){
                this.instace=Toast({
                                message:'提示！',
                                position:'bottom',
                                duration:-1,
                                iconClass:'glyphicon glyphicon-ok',
                                className:'mytoast'
                             })
            }
        }
    }
</script>
<style scoped>
</style>